package com.ruben.simplescaffold.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 公共自定义异常
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/6/23 11:05
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public abstract class BaseException extends RuntimeException implements IException {
    private static final long serialVersionUID = 6984514361700803774L;

    private String msg;

    public BaseException(String msg) {
        super(msg);
    }
}
